/**
 * 
 */
package org.cuatrovientos.vehiculo;

/**
 * @author teodor_mivovan
 *
 */
public class Track {
	
	private String name;
	private int km;
	/**
	 * @param name
	 * @param position
	 */
	public Track(String name, int km) {
		super();
		this.name = name;
		this.km = km;
	}
	 /**
     * @return name
     */
    public String getName() {
            return name;
    }
	 /**
     * @return km
     */
    public int getKilometres() {
            return km;
    }
	/**
	 * 
	 */
	@Override
	public String toString() {
		return "Track [name=" + name + ", km=" + km + "]";
	}
	

}
